//
//  UIColor+HexColor.h
//  CharonTVProject
//
//  Created by karong on 2023/6/6.

#import <UIKit/UIKit.h>

@interface UIColor (HexColor)
/*!
 * @method 通过16进制计算颜色
 * @abstract
 * @discussion
 * @param 16机制
 * @result 颜色对象
 */
+ (UIColor *)colorFromHexRGB:(NSString *)inColorString;

+ (UIColor *)colorFromHexRGB:(NSString *)inColorString alpha:(CGFloat)alpha;

+ (UIColor *)colorWithLightColor:(UIColor *)lightColor darkColor:(UIColor *)darkColor;

+ (UIColor *)colorWithLightRGB:(NSString *)lightRGB darkRGB:(NSString *)darkRGB;

+ (UIColor *)colorSameWithRGB:(NSString *)RGB;

/// 字體黃色
@property (class, nonatomic, readonly) UIColor *font_yellow_FCB625;
/// 字體紅色
@property (class, nonatomic, readonly) UIColor *font_red_F23735;
/// 灰色字体
@property (class, nonatomic, readonly) UIColor *font_gray_999999;
/// 灰色字体
@property (class, nonatomic, readonly) UIColor *font_gray_484F5F;
/// 黑色字体
@property (class, nonatomic, readonly) UIColor *font_black_333333;
/// 白色字体
@property (class, nonatomic, readonly) UIColor *font_white_ffffff;
/// 背景黑色
@property (class, nonatomic, readonly) UIColor *bg_black_141624;
/// 背景亮黑色
@property (class, nonatomic, readonly) UIColor *bg_tint_black_1B1E32;
/// tab背景黑色
@property (class, nonatomic, readonly) UIColor *bg_tab_161A2B;
/// 選中灰色
@property (class, nonatomic, readonly) UIColor *bg_gray_f2f2f2;
/// 蒙层 50%透明
@property (class, nonatomic, readonly) UIColor *mask_black_50p;

@end
